﻿using AutoMapper;
using T_settlement.API.Application.Command.PayMoneyCommand;
using T_settlement.API.Application.Command.settlementCommand;
using T_settlement.Domain;

namespace T_settlement.API.Extensions
{
    public class PayMoneyAuto:Profile
    {
        public PayMoneyAuto()
        {
            //添加应付费用管理
            CreateMap<AddPayMoneyCommand, PayMoney>().ReverseMap();
            //修改应付费用管理
            CreateMap<UpdatePayMoneyCommand, PayMoney>().ReverseMap();
        }
    }
}
